package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wmUser.dtos.WmUserDto;
import com.heima.model.wmUser.pojos.WmUser;

public interface WmUserService extends IService<WmUser> {
    /**
     * 根据用户名查询自媒体用户
     */
    public ResponseResult findWmUserByName(String name);


    /**
     * 新增自媒体用户
     */
    ResponseResult addWmUser(WmUser wmUser);

    /**
     * 自媒体用户登录
     */
    ResponseResult login(WmUserDto wmUserDto);
}
